<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{=T.accepted_language or 'en'}}">
  <head>
    <title>{{=response.title or request.application}}</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    {{#------  require CSS and JS files for this page (read info in base.css) ------}}
    {{response.files.append(URL(request.application,'static','plugin_layouts/layouts/UcTheme/uc-aria.css'))}}
    {{response.files.append(URL(request.application,'static','plugin_layouts/layouts/UcTheme/style.css'))}}
    {{response.files.append(URL(request.application,'static','plugin_layouts/layouts/UcTheme/custom.css'))}}
    {{response.files.append(URL(request.application,'static','plugin_layouts/layouts/superfish.js'))}}
    {{#------ include web2py specific js code (jquery, calendar, form stuff) ------}}
    {{include 'web2py_ajax.html'}}
  </head>
<body>
<div class="flash">{{=response.flash or ''}}</div>
<!-- START body-container -->
<div class="ez-mw wrapper layout" id="layout body-container">
      {{#------ Layout 3 from http://www.ez-css.org/layouts ------}}
      <div class="ez-wr">

<!-- START header-container ####################################-->
<div class="ez-box header" id="header-container">
<!-- START LAYOUT 1 - HEADER -->
    <div class="ez-wr">
        <!-- START header-header -->
        <div class="ez-box" id="header-header">
            {{=auth.navbar(action=URL(request.application,'default','user'))}}
        <!-- END header-header -->
        </div>
        <!-- START header-content -->
        <div class="ez-box" id="header-content">
            <!-- start header-background -->
            <div id="header-background">
                <!-- start header-foreground -->
                <div id="header-foreground">
                    <!-- START organizational-text-box -->
                    <div id="organizational-text-box">
                        <!-- START organizational-name -->
                        <div id="organizational-name">
                            <h1>{{=response.title or ''}}</h1>
                            <!-- END organizational-name -->
                        </div>
                        <div id="organizational-name-2">
                            <h1>{{=response.subtitle or ''}}</h1>
                        <!-- END organizational-name-2 -->
                        </div>
                        <!-- START organizational-slogan -->
                        <div id="organizational-slogan">
                        <!-- END organizational-slogan -->
                        </div>
                    <!-- END organizational-text-box -->
                    </div>
                    <!-- START logo -->
                    <div id="logo">
                    <!-- END logo -->
                    </div>
                <!-- end header-foreground -->
                </div>
            <!-- end header-background -->
            </div>                
        <!-- END header-content -->
        </div>
        <!-- START header-footer -->
        <div class="ez-box" id="header-footer">
        <!-- END header-footer -->
        </div>
    <!-- END LAYOUT 1 - HEADER -->
    </div>
<!-- END header-container ###################################### -->
</div>

<!-- START statusbar-container #################################-->
<div id="statusbar-container">

    <!-- START statusbar-->
    <div class="ez-box statusbar" id="statusbar">
      {{#------ superfish menu ------}}
      {{=MENU(response.menu,_class='sf-menu')}}
          <script>
        jQuery(document).ready(function(){
              jQuery('ul.sf-menu').superfish({delay:400});});
      </script>
    <!-- END statusbar-->
    </div>

<!-- END statusbar-container ###################################-->
</div>

<!-- START content-container ###################################-->
<!-- Layout 1 -->
<div class="ez-wr" id="content-container">
    <div class="ez-box" id="content">   

        <!-- START content-header -->
        <div class="ez-box"  id="content-header">
        <!-- END content-header -->
        </div>

        <!-- START content-content -->
        <div class="ez-box" id="content-content" id="content">
        {{include}}
<!-- END content-content -->
        </div>

        <!-- START content-footer -->
        <div class="ez-box expandable" id="content-footer">
        <!-- END content-footer -->
        </div>
    </div>
<!-- END content-container ####################################-->
</div>


<!-- START footer-box #########################################-->
<!-- Layout 1 -->
<div class="ez-wr" id="footer-container">
    <div class="ez-box" id="footer">    
        <div class="ez-box" id="footer-header">
        </div>

        <div class="ez-box" id="footer-content">
            {{=T('Copyright')}} &#169; 2010 -
            {{=T('Powered by')}} <a href="http://www.web2py.com">web2py</a>
        </div>
    
        <div class="ez-box" id="footer-footer">
        </div>
    </div>      
<!-- END footer-box ##########################################-->
</div>


<!-- END body-container ######################################-->
</div>
</body>
</html>
